package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.entity.AccountHistory;
import mn.idax.exchange.otc.entity.AccountHistoryExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface AccountHistoryMapper {
    int countByExample(AccountHistoryExample example);

    int deleteByExample(AccountHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AccountHistory record);

    int insertSelective(AccountHistory record);

    List<AccountHistory> selectByExampleWithRowbounds(AccountHistoryExample example, RowBounds rowBounds);

    List<AccountHistory> selectByExample(AccountHistoryExample example);

    AccountHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AccountHistory record, @Param("example") AccountHistoryExample example);

    int updateByExample(@Param("record") AccountHistory record, @Param("example") AccountHistoryExample example);

    int updateByPrimaryKeySelective(AccountHistory record);

    int updateByPrimaryKey(AccountHistory record);
}